<!--
 * @Author: ljc
 * @Date: 2024-09-14 15:15:02
 * @LastEditors: ljc
 * @LastEditTime: 2025-07-21 11:21:10
 * @Description: 配置(通用配置、个性配置组件) 
-->
<template>
  <el-form-item :label="i18nt('designer.setting.configType')">
    <el-select v-model="optionModel.configType"
      filterable
      allow-create>
      <el-option v-for="(item, idx) in configTypeList"
        :key="idx"
        :label="item.label"
        :value="item.value"></el-option>
    </el-select>
  </el-form-item>
</template>

<script>
import i18n from "@/utils/i18n"

export default {
  name: "configType-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
  data() {
    return {
      configTypeList: [
        { label: "通用配置", value: 0 },
        { label: "个性化配置", value: 1 }
      ]
    }
  },
}
</script>

<style scoped>
</style>
